package app.fugema.shop.main.invoice.model;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;
import app.fugema.shop.BR;

public class InvoiceInfoParams extends BaseObservable
{
    //0=不需要发票,1=普通发票，2=电子普通发票，3=增值税发票
    private int invoicetype;

    private String invoicecontext;

    private String name;

    private String code;

    private String registeraddress;

    private String registerphone;

    private String bankname;

    private String bankno;

    private String realname;

    private String cellphone;

    private String regionid;

    private String address;

    private String userkey;

    private String email;

    //重新构造参数 添加判断 具体店铺 的发票
    private int shopId;
    // 发票发货需要的时间  InvoiceDay : "15-18"
    private String InvoiceDay;
   //开了发票 时 该订单需要多付出 的 税费
    private String rateMoney;
    //税率
    private int rate;

    public int getInvoicetype()
    {
        return invoicetype;
    }

    public void setInvoicetype(int invoicetype)
    {
        this.invoicetype = invoicetype;
    }

    public String getInvoicecontext()
    {
        return invoicecontext;
    }

    public void setInvoicecontext(String invoicecontext)
    {
        this.invoicecontext = invoicecontext;
    }

    @Bindable
    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
        notifyPropertyChanged(BR.name);
    }
    @Bindable
    public String getCode()
    {
        return code;
    }

    public void setCode(String code)
    {
        this.code = code;
        notifyPropertyChanged(BR.code);
    }
    @Bindable
    public String getRegisteraddress()
    {
        return registeraddress;
    }

    public void setRegisteraddress(String registeraddress)
    {
        this.registeraddress = registeraddress;
        notifyPropertyChanged(BR.registeraddress);
    }
    @Bindable
    public String getRegisterphone()
    {
        return registerphone;
    }

    public void setRegisterphone(String registerphone)
    {
        this.registerphone = registerphone;
        notifyPropertyChanged(BR.registerphone);
    }
    @Bindable
    public String getBankname()
    {
        return bankname;
    }

    public void setBankname(String bankname)
    {
        this.bankname = bankname;
        notifyPropertyChanged(BR.bankname);
    }
    @Bindable
    public String getBankno()
    {
        return bankno;
    }

    public void setBankno(String bankno)
    {
        this.bankno = bankno;
        notifyPropertyChanged(BR.bankno);
    }
    @Bindable
    public String getRealname()
    {
        return realname;
    }

    public void setRealname(String realname)
    {
        this.realname = realname;
        notifyPropertyChanged(BR.realname);
    }
    @Bindable
    public String getCellphone()
    {
        return cellphone;
    }

    public void setCellphone(String cellphone)
    {
        this.cellphone = cellphone;
        notifyPropertyChanged(BR.cellphone);
    }

    public String getRegionid()
    {
        return regionid;
    }

    public void setRegionid(String regionid)
    {
        this.regionid = regionid;
    }
    @Bindable
    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
        notifyPropertyChanged(BR.address);
    }

    public String getUserkey()
    {
        return userkey;
    }

    public void setUserkey(String userkey)
    {
        this.userkey = userkey;
    }
    @Bindable
    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
        notifyPropertyChanged(BR.email);
    }

    public int getShopId()
    {
        return shopId;
    }

    public void setShopId(int shopId)
    {
        this.shopId = shopId;
    }

    public String getInvoiceDay()
    {
        return InvoiceDay;
    }

    public void setInvoiceDay(String invoiceDay)
    {
        InvoiceDay = invoiceDay;
    }

    public String getRateMoney()
    {
        return rateMoney;
    }

    public void setRateMoney(String rateMoney)
    {
        this.rateMoney = rateMoney;
    }

    public int getRate()
    {
        return rate;
    }

    public void setRate(int rate)
    {
        this.rate = rate;
    }
}
